package com.magenta.geocoding.progorod.json;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.List;

/**
 * User: Zlygostev
 * Date: 09.06.12
 * Time: 12:32
 */

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class SearchResponse {
    private List<Res> res;
    private boolean success;

    public List<Res> getRes() {
        return this.res;
    }

    public void setRes(List<Res> res) {
        this.res = res;
    }

    public boolean getSuccess() {
        return this.success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
